package csu.ssd.student;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.*;
import javafx.stage.Stage;

import java.io.IOException;

public class Shouye extends Application {


    public Stage stage =new Stage();

        public void start(Stage stage) throws IOException {
            FXMLLoader fxmlLoader = new FXMLLoader(Shouye.class.getResource("shouye.fxml"));
            Scene scene = new Scene(fxmlLoader.load(), 400.0, 400.0);
            stage.setTitle("中南大学学生管理系统");

            stage.setScene(scene);
            stage.setMaxWidth(400.0);
            stage.setMaxHeight(400.0);
            stage.show();
        }

        public static void main(String[] args) {
            launch();
        }
    public void showWindow() throws Exception{
        start(stage);
    }
    }
